package com.wxl.common.room.dao

import androidx.room.*
import com.wxl.common.room.entity.ContractInfoEntity

@Dao
interface ContractInfoDao {

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insert(vararg cis: ContractInfoEntity)

    @Delete
    fun delete(vararg cis:ContractInfoEntity)

    @Update
    fun update(vararg cis:ContractInfoEntity)

    @Query("select * from contract")
    fun query():List<ContractInfoEntity>
}